package com.ylc.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ylc.reggie.entity.SetmealDish;

import java.util.List;

/**
 * @Author: ylc
 * @Description:
 */
public interface SetmealDishService extends IService<SetmealDish> {
    /**
     * 判断setmeal_dish表中是否存在dish_id
     * @param ids   dish_id
     * @return
     */
    boolean getDishInSetmeal(List<Long> ids);

    /**
     * 根据id获取setmeal_dish表中存在的菜品
     * @param ids   dish_id
     * @return
     */
    List<SetmealDish> listDishId(List<Long> ids);

}
